﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AppBrowser
{
    public partial class frmDebug : Form
    {
        public StringBuilder sb = new StringBuilder();

        public List<string> DebugLog = new List<string>();

        public void AddItem(string textline)
        {
            DebugLog.Add(string.Format("[{0}] : {1}", DateTime.Now.ToShortDateString(), textline));
            textBox1.Text += DebugLog[DebugLog.Count - 1];
        }

        public frmDebug()
        {
            InitializeComponent();
        }

        private void frmDebug_Load(object sender, EventArgs e)
        {
            AddItem("APP_CONFIG_FILE: " + AppDomain.CurrentDomain.GetData("APP_CONFIG_FILE") + "\r\n");
        }
    }
}
